<?php
   
   
   $field="[php_property:field]";   
   
   
   foreach (db::getData("[php_property:table]", "[php_property:where]", "[php_property:orderby]") as $optionData)
    {
    echo "<option value=" . $optionData['id'] . '"';
    echo '>';
    echo $optionData["'.$field.'"] . " ";
    echo '</option>';
    }
  
  
?>
